<input type="text" name="{$name}" value="{$value|default=date('Y-m-d H:i:s')}" class="form-control datetimepicker" style="width: 200px;">